#define _CRT_SECURE_NO_WARNINGS 1
#include"BSTree.h"

int main()
{
	vector<int> arr = { 8,5,3,4,2,9,1 };
	BSTree<int> tree;
	for (auto a : arr)
	{
		tree.Insert(a);
	}
	tree.InOder();

	tree.Erase(1);
	tree.InOder();


	return 0;
}